const base = 'http://localhost:3000'
const api = {
	base: base,
	chat:{
		getUserChat:"/getUserChat",
		getServiceChat:"/getServiceChat"
	},
	common: {
		getBanner: "/api/index/getSlide", //获取轮播
		upLoadeImg: "/api/member/uploadImg", //上传图片,
		getCaptcha: "/api/member/verifycode", //获取验证码
	},
	user: {
		login: "/api/login/index", // 登录
		userInfo: "/api/member/info", // 获取用户信息
		updatePwd: '/api/member/changePwd', //修改密码
		forgetPwd: '/api/login/forgetpwd', //忘记密码
		updateTwoPwd: '/api/member/changePwd2', //修改二级密码
		register: '/api/login/register', //注册
		getUniqueID: '/api/award/rand_account', //获取用户编号
		findPwd: "/api/login/forgetpwd", // 找回密码
		getResCaptcha:"/api/award/verifycode",
		getRandomCode:"/api/award/rand_account",//获取随机号
		getDown:"/api/award/download",//获取下载地址
	},
	invest: {
		getMealList: "/api/machine/getSetmealList", //获取套餐列表
		buyMeal: "/api/machine/bug_set_meal", //购买套餐
		investRecord:"/api/machine/touzi_log",//创投记录
	},
	home: {
		information: "/api/article/articleList", //获取资讯分类
		informationDetail: "/api/article/articleDetails", //获取详情
		uploadProof: "/api/exchange/rujin_submit", //上传凭证,
		withDraw: "/api/exchange/usdt_apply", //出金
		charge: "/api/exchange/usdt_apply_index", //手续费
		payRecord: "/api/exchange/rujin_log", //充币记录
		exchangeRecord: "/api/exchange/exchange_log", //兑换记录
		getExchange: "/api/exchange/exchangetype", //获取兑换类型转换
		submitExchange: "/api/exchange/exchange_submit", //兑换提交
		withDraw: "/api/exchange/usdt_apply", //出金
		outRecord:"/api/exchange/cash_out_log",//出金记录
		getBank:"/api/machine/bank_conf",//银行卡信息
		getUsdt:"/api/machine/usdt_conf",//usdt信息
		getNotice:"/api/service/notice",//获取通知
		getShareList:"/api/member/static_bons_log",//获取分红
	},
	profile: {
		updateUserImg: "/api/member/modifyingHead", //修改用户头像
		certification:"/api/member/id_auth",//实名验证
		myComment:"/api/member/contents_log",//我的留言
		systemComment:"/api/member/stystem_contents_log",//系统留言
		getAssetDetail:"/api/member/getBalancelog",//获取资产明细
		submitComment:"/api/member/contents_submit",//提交留言
		dsProfile:"/api/member/jd_return",//动静态收益
		team:"/api/member/myTeamList",//我的团队
		updatePassword:"/api/member/changePwd",//修改密码
		updateTwoPassword:"/api/member/changePwd2",//修改二级密码
		updatePhone:"/api/member/changeMobile",//修改手机号
		transfer:"/api/member/exchange_submit",//转账
		transferRecord:"/api/member/exchange_log",//转出记录
		toRecord:"/api/member/exin_log",//转入记录
		shareOutBonus:"/api/member/bons_log",//分红
		myQrCode:"/api/member/inviteFriends",//邀请好友
		updateAddress:"/api/member/modifyAddress",//设置、修改收货地址
		getAddress:"/api/member/getAddress",//获取收货地址
		editOldPhone:"/api/member/check_old_phone",//修改旧手机
		editNewPhone:"/api/member/edit_new_phone",//修改新手机
	}
}
export default api;
